<?php

namespace app\yj\controller;

use think\Controller;

class KmlController extends Controller
{
    public function jiexi()
    {

        $xml = simplexml_load_file("/jingjiangqu.kml");
        $placemarks = $xml->Document->Placemark;
        dump($placemarks);
    }
}